package com.cms.common.model.vo;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum ResponseCodeEnum {
    SUCCESS(0, "操作成功"),
    FAIL(300, "操作失败"),
    NEED_LOGIN(403, "需要登录后操作"),
    USERNAME_EXIST(501, "用户名已存在");

    private Integer code;  //响应状态码
    private String msg;   //响应的消息


}

